package com.weirong.smartvault.backservice;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;

@EnableAutoConfiguration
@SpringBootApplication
@ComponentScan(basePackages={"com.weirong"})
@EnableJpaRepositories(basePackages = "com.weirong.smartvault")
@EntityScan(basePackages = "com.weirong")
public class Main {

    public static void main(String[] args) {

        SpringApplication.run(Main.class, args);

    }

}
